#ifndef GD_SINGLETON_CLASS_H
#define GD_SINGLETON_CLASS_H

#include <godot_cpp/classes/object.hpp>
#include <godot_cpp/core/class_db.hpp>

using namespace godot;

class GdSingleton : public Object {
	GDCLASS(GdSingleton, Object);

	static GdSingleton *singleton;

protected:
	static void _bind_methods();

public:
	static GdSingleton *get_singleton();

	GdSingleton();
	~GdSingleton();

	void print();
};

#endif // GD_SINGLETON_CLASS_H